package com.sm.service;

import com.sm.dao.AppConfigMapper;
import com.sm.model.AppConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppConfigService {
    @Autowired
    private AppConfigMapper appConfigMapper;

    public AppConfig getByKey(String key) {
        return appConfigMapper.selectByKey(key);
    }
}
